<template>
	<view>
		<cu-custom bgColor="bg-cyan">
			<block slot="content">移动应用开发</block>
		</cu-custom>
		<!-- 顶部区域 -->
		<view class="smart-page-head">
			<view class="smart-page-head-title">
				view...
			</view>
		</view>
		<!-- 主题部分 -->
		<view class="smart-padding-wrap">
			<view>
				flex-direction：row横向布局
			</view>
		</view>
		<view class="smart-flex smart-row">
			<view class="flex-item smart-bg-blue">A</view>
			<view class="flex-item smart-bg-green">B</view>
			<view class="flex-item smart-bg-red">C</view>
		</view>
		<view>flex-direction：纵向布局</view>
		<view class="smart-flex smart-colum">
			<view class="flex-item-100 smart-bg-blue">A</view>
			<view class="flex-item-100 smart-bg-green">B</view>
			<view class="flex-item-100 smart-bg-red">C</view>
		</view>
		<view>其他布局</view>
		<view>
			<view class="text">
				纵向布局-自动宽度
			</view>
			<view class="text" style="width: 300upx;">
				纵向布局-固定宽度
			</view>
			<view class="smart-flex smart-row">
				<view class="text">纵向布局-自动宽度</view>
				<view class="text">纵向布局-自动宽度</view>
			</view>
			<view class="smart-flex smart-row" style="justify-content: center;">
				<view class="text">横向布局-居中</view>
				<view class="text">横向布局-居中</view>
			</view>
			<view class="smart-flex smart-row" style="justify-content: flex-end;">
				<view class="text">横向布局-居右</view>
				<view class="text">横向布局-居右</view>
			</view>
			<view class="smart-flex smart-row">
				<view class="text" style="flex-grow: 1;">横向布局-平均分布</view>
				<view class="text" style="flex-grow: 1;">横向布局-平均分布</view>
			</view>
			<view class="smart-flex smart-row" style="justify-content: space-between;">
				<view class="text">横向布局-两端对齐</view>
				<view class="text">横向布局-两端对齐</view>
			</view>
			<view class="smart-flex smart-row">
				<view class="text" style="width: 150upx;">固定宽度</view>
				<view class="text" style="flex-grow: 1;">自动占满</view>
			</view>
			<view class="smart-flex smart-row" style="flex-wrap: wrap;">
				<view class="text" style="width: 340upx;">一行显示不全wrap折行</view>
				<view class="text" style="width: 340upx;">一行显示不全wrap折行</view>
				<view class="text" style="width: 340upx;">一行显示不全wrap折行</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {

		}
	}
</script>

<style>
</style>
